using System;
using MonoTouch.Foundation;
using MonoTouch.UIKit;

namespace Ro.Norc.ServiceStackClientHello
{
	[Register("AppDelegate")]
	public class AppDelegate : UIApplicationDelegate
	{
		private HelloViewController helloController = null;
		
		private UIWindow window = null;
		
		public override bool FinishedLaunching (UIApplication application, NSDictionary launcOptions)
		{
			helloController = new HelloViewController();
			
			window = new UIWindow(UIScreen.MainScreen.Bounds);
			window.AddSubview(helloController.View);
			window.MakeKeyAndVisible();
			
			return true;
		}
		
		public override void OnActivated (UIApplication application)
		{
			return;
		}
	}
}